package one.stand.request.live;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 短视频
 * @author luoyang
 * @date 2020/5/20 13:44
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShortVideoForm对象", description="短视频")
public class ShortVideoForm extends BaseRequest implements Serializable {


    @ApiModelProperty(value = "短视频id,修改时必须")
    private Integer videoId;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ApiModelProperty(value = "上传用户id")
    private Integer userId;

    @ApiModelProperty(value = "标题")
    @NotNull(message = "标题不能为空")
    private String title;

    @ApiModelProperty(value = "地址")
    @NotNull(message = "地址不能为空")
    private String address;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "视频地址")
    @NotNull(message = "视频不能为空")
    private String url;

    @ApiModelProperty(value = "商品链接")
    private String link;
}
